﻿using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Web.Generics;
using BolaoDNA.DomainModel;

namespace BolaoDNA.WebMvc.Areas.Admin.ViewModels
{
	public partial class InscricaoBolaoViewModel : GenericViewModel<InscricaoBolao>
	{
		public SelectList BolaoList {
			get { return base.SelectLists["Bolao"]; }
			set { base.SelectLists["Bolao"] = value; }
		}
		public Int32 Bolao_ID {
            get { return base.Instance.Bolao.ID; }
            set { base.SelectListValues["Bolao"] = base.Instance.Bolao.ID = value; }
        }
		public SelectList UsuarioCadastradoList {
			get { return base.SelectLists["UsuarioCadastrado"]; }
			set { base.SelectLists["UsuarioCadastrado"] = value; }
		}
		public Int32 UsuarioCadastrado_ID {
            get { return base.Instance.UsuarioCadastrado.ID; }
            set { base.SelectListValues["UsuarioCadastrado"] = base.Instance.UsuarioCadastrado.ID = value; }
        }
	}
}
